package cn.wolfcode.mapper;


import cn.wolfcode.domain.Dept;
import cn.wolfcode.domain.Emp;
import cn.wolfcode.domain.pageBean;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

public interface EmpMapper {
    List<Emp> page(@Param("name") String name, @Param("gender") Integer gender, @Param("begin") Date begin, @Param("end") Date end);
    void delete(List<Long> ids);
    void add(Emp emp);
    Emp selById(Long id);
    void update(Emp emp);
    Emp login(Emp emp);
}
